package com.samphanie.mbg.model.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.samphanie.mbg.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;


/**
 * 系统权限对象 sys_permission
 *
 * @author zsy
 * @date 2021-10-20
 */
@Data
@With
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_permission")
@EqualsAndHashCode(callSuper = true)
public class SysPermission extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "权限名称")
    private String name;

    @ApiModelProperty(value = "方法类型")
    private String method;

    @ApiModelProperty(value = "菜单模块")
    private Long menuId;

    @ApiModelProperty(value = "URL权限标识")
    private String urlPerm;

    @ApiModelProperty(value = "按钮权限标识")
    private String btnPerm;

}
